I've had several occasions where some absolutely insane thought occurs to me during a wedding or a funeral. Makes me feel like a psychopath lol.
Same with my urge to break the tension and jump onto train tracks.
Same with just intensely inappropriate thoughts during formal events. Like wanting to stand up and scream the F word or something.