Stress does funny things to people. (No, not ha ha funny!).
I always thought of Thoreau’s puns as more clever than ha-ha funny.
... Sounds kind of funny now, right? ...
... Funny story. ...