Place it at the end of a failed attempt, after the mistake is visible, then follow it with the Nelson Ha Ha or the Sad Violin to flip the joke into sympathy. A Cartoon Slip just before it can set up the fall that makes the reaction pay off.