Place it just after the failed moment is fully visible, then follow it with Sad Trombone to close the joke, or open with Crowd Cheering before the attempt so the contrast makes the failure stand out.