Place it at the exact beat where the trick is revealed, then follow it with a shocked reaction before the laughter arrives. A shocked sound works as the immediate response, while an oh no no no laugh closes the scene after the reaction.