Place it at the start of an entrance or journey scene, right before the action turns messy, then follow it with a fail cue once the plan falls apart and the joke lands.