Place it at the exact point where a sweet scene turns sour, after a light setup and before the reaction shot. Pair a Pop Sound Effect just before it for a tiny lift, then follow with a Nope Meme Sound when the joke needs a firm, funny close.