Place it at the very end of a defeat sequence, after the setup moment and a fail sting, then follow it with applause to close the scene. That order builds the joke, delivers the payoff, then lets the audience react.