And there we have it! Proof the earth is only 2000 years old!
But in all seriousness, there has been a lot of genuine investigation into the whole Mary Magdalene thing and actually there are many glaring errors in the modern interpretation of her relationship with Christ, not least the nonsense spewed forth by Dan Brown in a fictional book which, for some insane reason, is being classed as historically accurate and wholly factual. The Gnostic gospel dealing with the issues of Jesus kissing Mary were not written in Aramaic but in an ancient Egyptian text for which the translation was very different to how it would have been were it in Aramaic. The word companion in Aramaic means spouse but in Coptic (the Egyptian text), it does not mean the same thing. The word was borrowed from Greek and is an umbrella term at best - there are other Greek words that could have been used which would have been very specific about the relationship in question.
In the New Testament (that is, without the Gnostic Gospels), Jesus' family are mentioned - mother, brothers, sisters etc. So why would something like marriage be left out? It's not a sin to be married and it would not have been a sin for Jesus to marry and have kids - that said, the gospel of Mary and the gospel of Philip (both most cited as "proof" of Jesus and Mary's sexual relationship) were written far later than the other books of the New Testament (as much as 200 years later). The 4 gospels were written as early as just 50 years (in the case of Matthew and John specifically) after Jesus ascended following his resurrection. Surely there is more margin for error in writing something 200 years after it happened? But that's not the real point - there are words missing or simply not included in the Gnostic Gospels such as where Jesus allegedly kissed Mary (Dan Brown inserted his own words for the sake of his story rather than looking at the original texts as would be the proper way to research such a volatile subject), what kind of kiss it was (are we talking tongues or sisterly?), no mention whatsoever of anything sexual occurring - which you would think is of the utmost importance considering the Gnostic Gospels were presumably not intended to detract from the bible or to defame it in any way.
It is spoken of many times in the bible as to how much he loved various people - men and women included. The words used for love in all these cases were not romantic but brotherly or familial. Throughout the New Testament, men and women greeted one another with kisses - called holy kisses, to define them. When people mention Mary being a favourite or much-loved disciple, one has to consider that during one of the gospels (John) in the bible, Mary even has a conversation with Peter and "the disciple whom Jesus loved" - so it cannot have been her unless she was talking to herself.
Furthermore, Mary was an insanely popular name in the bible. There is actually nothing to indicate Mary Magdalene was a prostitute and there is little to connect her to such a thing aside from the juxtaposition of her name within the text to another woman who was unnamed. And if that's all it takes then there are many other women mentioned in the same verses as Mary who could have been considered candidates.