Put it at the end of a fail sequence, after Sudden Suspense builds the tension, then follow it with Sad Violin to underline the aftermath and let the joke settle before the next scene starts.