Place it just after a calm reveal or a quiet betrayal scene, then follow it with a sudden scare for maximum impact. Pair it before the FNAF jumpscare scream when a villain appears, or after enemy spotted when a hidden threat is exposed, so the laugh sets up the next shock.