Place it at the end of a fail sequence, after the setup has already made the outcome clear, then follow it with an awkward moment sting before a womp womp fail closes the joke.