Place it at the peak of a fail or reveal, right after the setup has built tension, then follow it with a scream meme for the reaction and an emotional damage sting to close the joke.