I farted once in formation in Marine boot camp, no one could tell who it was. Didn't matter tho, we all paid for it in the pit. Drill instructors didn't think it was funny, platoon did. The lesson here, is to pay attention to the context of the fart so you can steer clear of trouble.