Place it near the end of a short car or tyre gag, after a Sad Trombone moment and before a Sitcom Laugh Track, so the edit moves from the fail to it and then to the crowd reaction that closes the joke.