Put it near the end of an edit, after the setup has landed and just before the payoff, so it acts as the turn in the scene. Follow it with a low boom to underline the fail, or a light ding when the joke lands cleanly, and let the next shot carry the reaction.