Place it in the edit immediately after the failed line, before any reaction shot, so the beat lands before the scene moves on. Follow it with Ba Dum Tss Drum Sting for a second punch, or lead into it with Funny Ha Ha Laugh when the joke was meant to be laughed at, not ignored.