There are gay people in the military, where acceptance has taken a while to get out of the dark ages.
They are accepted and homophobia is not tolerated at all.
As mentioned before, there is the usual banter, but the forces sense of humour has its own identity and can be quite humerous at times...