Place it at the end of a heroic buildup, just as the boast collapses, then follow it with the awkward moment to keep the joke going, or swap in the womp womp fail when the defeat needs a clearer punchline.