Place it near the end of a fail sequence, after the setup line it was at this moment he knew, so the collapse lands first and the audience reaction follows, then close with a fail sound to underline the ending without adding another joke on top.