Within the British military I havent heard of there being any mention. On an application at least Ive only seen any questions on whether there are any family members dependent on you. With sexuality at least it is considered an irrelevance
One question I will ask is how military families interact with others as they seem to be a quite close knit group and I assume would notice.