According to this article:
New Depression Rx: Get Married | LiveScience
Depressed people find a larger improvement in happiness when they get married than happy people do, but happy people are happier in their marriages in absolute terms. So, bottom line is, yes marriage can help, but if you want to be even *happier* in your marriage, work on being happy first. (I know, easier said than done)