Put it near the end of a short funny edit, just after the moment that earns the laugh. Let a fail sound set up the joke first, then follow this clip with clapping to close the scene on applause.