Place it at the end of the failed attempt, after the setup has played out and before any reaction shot. Follow it with a laugh or a Directed by Robert B. Weide sting to close the bit, or open with a Ba Dum Tss before it for a double punchline.