For a Mormon-believer the surprising thing would be if Jesus was not married; since marriage is regarded as necessary for the highest divine exaltation. Also, it provides a solid reason why Christ had to be incarnated in order to become our Saviour, despite that he was already divine before incarnation: perhaps Christ needed to be reincarnated in order that he might marry and achieve the final degree of exaltation such that he could Father premortal spirit children?
The main apparent obstacle is that the Bible seems not to mention Jesus getting married - but maybe it does, and quite explicitly. It depends on our understanding of the key section of the key gospel of the whole Bible; namely the events surrounding the raising of Lazarus in John's Gospel - that point of inflexion of the narrative in which events move towards Jesus's crucifixion, implying that Christ's ministry was now complete. What went before (including the delay of thirty years before the start of Jesus's ministry) may be seen as awaiting this moment.
I am going to state why there is good reason to assume that Jesus married Mary Magdalene. I do not think this is any kind of stretch of logic assuming three things: 1. It is plausible Jesus was married. 2. Mary of Bethany and Mary Magdalene are the same person - Bethany having changed her name after the anointing of Christ. 3. The anointing of Jesus by Mary with spikenard, the wiping of it with her hair, would have been clearly understood by John and his contemporary readers as describing the known ritual of a divine, royal marriage.
The second and third assumptions seem quite reasonable - even though they are not entailed by what we happen to know (from secular histories) of the evidence.
If John's gospel is read in the light of these three assumptions, then the idea of a marriage fits without strain, and explains the subsequent events at the cross (the presence of Mary Magdalene) and the events at the tomb of Jesus after the resurrection.
I append the relevant text. Whether this is found compelling by the skeptic is doubtful; but if we choose to assume that Then took Mary a pound of ointment of spikenard, very costly, and anointed the feet of Jesus, and wiped his feet with her hair: and the house was filled with the odour of the ointment is describing a wedding ceremony, the interpretation enables a naturalness, clarity and simplicity to the narrative - which is otherwise extremely puzzling; given its prominence, detail and placement.
John 11: 11 Now a certain man was sick, named Lazarus, of Bethany, the town of Mary and her sister Martha. 2 (It was that Mary which anointed the Lord with ointment, and wiped his feet with her hair, whose brother Lazarus was sick.) 3 Therefore his sisters sent unto him, saying, Lord, behold, he whom thou lovest is sick. 4 When Jesus heard that, he said, This sickness is not unto death, but for the glory of God, that the Son of God might be glorified thereby. 5 Now Jesus loved Martha, and her sister, and Lazarus.
John 12: 18 Now Bethany was nigh unto Jerusalem, about fifteen furlongs off: 19 and many of the Jews came to Martha and Mary, to comfort them concerning their brother... 28 And when [Martha]had so said, she went her way, and called Mary her sister secretly, saying, The Master is come, and calleth for thee. 29 As soon as she heard that, she arose quickly, and came unto him. 30 Now Jesus was not yet come into the town, but was in that place where Martha met him. 31 The Jews then which were with her in the house, and comforted her, when they saw Mary, that she rose up hastily and went out, followed her, saying, She goeth unto the grave to weep there.
32 Then when Mary was come where Jesus was, and saw him, she fell down at his feet, saying unto him, Lord, if thou hadst been here, my brother had not died. 33 When Jesus therefore saw her weeping, and the Jews also weeping which came with her, he groaned in the spirit, and was troubled...
12 Then Jesus six days before the passover came to Bethany, where Lazarus was which had been dead, whom he raised from the dead. 2 There they made him a supper; and Martha served: but Lazarus was one of them that sat at the table with him. 3 Then took Mary a pound of ointment of spikenard, very costly, and anointed the feet of Jesus, and wiped his feet with her hair: and the house was filled with the odour of the ointment. 4 Then saith one of his disciples, Judas Iscariot, Simon’s son, which should betray him, 5 Why was not this ointment sold for three hundred pence, and given to the poor? 6 This he said, not that he cared for the poor; but because he was a thief, and had the bag, and bare what was put therein. 7 Then said Jesus, Let her alone: against the day of my burying hath she kept this.
25 Now there stood by the cross of Jesus his mother, and his mother’s sister, Mary the wife of Cleophas, and Mary Magdalene. 26 When Jesus therefore saw his mother, and the disciple standing by, whom he loved, he saith unto his mother, Woman, behold thy son! 27 Then saith he to the disciple, Behold thy mother! And from that hour that disciple took her unto his own home.
20 The first day of the week cometh Mary Magdalene early, when it was yet dark, unto the sepulchre, and seeth the stone taken away from the sepulchre. 2 Then she runneth, and cometh to Simon Peter, and to the other disciple, whom Jesus loved, and saith unto them, They have taken away the Lord out of the sepulchre, and we know not where they have laid him.
10 Then the disciples went away again unto their own home. 11 But Mary stood without at the sepulchre weeping: and as she wept, she stooped down, and looked into the sepulchre, 12 and seeth two angels in white sitting, the one at the head, and the other at the feet, where the body of Jesus had lain. 13 And they say unto her, Woman, why weepest thou? She saith unto them, Because they have taken away my Lord, and I know not where they have laid him.
14 And when she had thus said, she turned herself back, and saw Jesus standing, and knew not that it was Jesus. 15 Jesus saith unto her, Woman, why weepest thou? whom seekest thou? She, supposing him to be the gardener, saith unto him, Sir, if thou have borne him hence, tell me where thou hast laid him, and I will take him away. 16 Jesus saith unto her, Mary. She turned herself, and saith unto him, Rabboni; which is to say, Master. 17 Jesus saith unto her, Touch me not; for I am not yet ascended to my Father: but go to my brethren, and say unto them, I ascend unto my Father, and your Father; and to my God, and your God. 18 Mary Magdalene came and told the disciples that she had seen the Lord, and that he had spoken these things unto her.