Place it at the end of a setup scene, just before the reveal, then follow it with a shocked reaction and the laugh that follows to close the joke. That order keeps the prank clear, lets the audience react, and gives an edit a clean, satisfying finish without crowding the scene.