Place it at the end of a simple setup, just after the reveal, so it works as the payoff. Follow it with a funny laugh, then a correct answer sting when the joke is confirmed. Keep it in the middle of a fast edit, never as the opening.