Place it at the end of a failed attempt, just after the loss is clear, then follow it with Sad Trombone to close the joke. If the edit needs a comeback instead, put Crowd Cheering before it so the quit lands as a surprise twist.