Harry isolates himself from others socially and professionally, frequently resists the temptation to take his life, and experiences feelings of benevolence and malevolence for bourgeois notions.
And how enviable to live in the world of his novels, where duty was plain, evil arose out of malevolence and a starving wayfarer could be invited indoors without fear.
The humour largely comes from his original (and often absurd) solutions to problems and his total disregard for others when solving them, his pettiness, and occasional malevolence.