Christian religions constantly remind us that Mary was "forever virgin".
So why doesn't the Bible tell us that Jesus was also a virgin?
The doctrine of the perpetual virginity of Mary is tradition (mostly Roman Catholic), but actually not in Scripture at all. (I'm not taking a stand on that doctrine for purposes of this question, just pointing out that even Roman Catholics would not, I believe make the case from Scripture.) It mentions that at the time Jesus was conceived by the Holy Spirit, she was a virgin, but the Scripture is at best silent on perpetual virginity, and at worse dismissive of it, since the Bible mentions Jesus' brothers.
Likewise, the only clear reference to a sexually inexperienced woman is when Matthew mistranslated "young woman" in Isaiah 7:14 to specifically talk about how miraculous Jesus' virgin birth is. In all other instances, when the Bible speaks of a virgin, the point is her age, not her sexual history.
I say this to point out mostly that the Bible is rarely interested in someone's sexual experience (except when it is showing the consequence of its misuse), and thus it is not at all surprising that the Bible is silent on the matter of Jesus' sex life. The Bible makes no mention of the fact that he was single either, leading some to question if Jesus was married.
If "the whole world" would not have space for all the things He did do, it is unlikely to have space for all the things he didn't.
The Bible does emphatically state that Jesus was without sin.
Since Jesus was never reported to have been married in the Bible, a sexual relationship would have been a sin. Since Jesus is and was and forever will be sinless, we can know for certain that Jesus was also a virgin.
This is implicit rather than explicit, but no less certain.
The most common denomination that believes Mary is the eternal virgin is Catholicism. As noted here:
However it is not universally accepted as fact. For instance, to consummate a marriage a woman's virginity was lost. The only exceptions would be if the woman was too young or the man too old. I have read stories about Joesph begin too old - which explains why he is not mentioned later in the Bible. I've also read stories were Mary may have been too young. But either way, it's pretty safe to assume (unless you share of the Catholic traditions) that the marriage was consummated at some point, potentially after the birth of Jesus.
One large debate is that of the translation / editing of the Bible. Was Mary a virgin or a young woman. Someone more familiar with biblical hermeneutics may be able to expand on this more than I can here. However, the quest is:
Here you can see that it is possible that Mary was a young woman which would also explain the lack of consummation right after the marriage. It is further explored here and resulting in American Catholic Bishops changing Mary from a virgin to a young woman.
John Allen, with the National Catholic Reporter in Rome
So why doesn't the Bible mention Jesus virginity state? Probably because it wasn't important. For instance, they don't mention the virginity of most of the people in the bible. Was Abel a virgin? Why would we care if his was or wasn't? There are stories that say that Jesus was married, but they were not added to the canon. The stories have made Dan Brown extremely wealthy. Please consider reading this.
One of the books not accepted in the canon was The Gospel of Philip which states: