Put it right after the failed moment in your edit, then follow it with a SpongeBob fail sting to underline the joke, or place a dun dun dun sting before it to build up the reveal. Keep it as the punchline, not the opening, so it comes after the audience has seen what went wrong.