Terry Pratchett said this quote

There is never a bad time for a pun. There’s also never really a good time for a pun. You might as well just stay braced for a pun at all times, and ride them when they come with as much grace as you can manage.The fact that you can replace ‘pun’ with ‘disaster’ in the last three rules says a lot about the human race.