Bartleby the Scrivener by Herman Melville. It's 19th century, but is often mooted to be a classic of depression. Or is Bartleby an anarchist?

Darkness Visible by William Styron is worth checking...