No, Jesus did not get married. In John 2 at the wedding of Cana Jesus was invited (John 2:2). You aren’t invited to your own wedding. Also, Jesus knew that he was going to be crucified (Matt. 20:18-19). He would not have married a woman knowing he would not be able to provide for her later. Also, the Lamb, who is Jesus, will attend the wedding feast as the bridegroom later (Rev. 19:7; 21:9). So, we could say he will be “married” in the future.
But, there are those who say that Jesus did get married. Some say it was Mary Magdalene and others say it was somebody else. There are various documents written long after Christ ascended into heaven which are considered false documents. Some of those say he got married. But, the eyewitness accounts which are written in the Gospels never state that he was married.