We detached this subthread from https://news.ycombinator.com/item?id=14420786 and marked it off-topic.
In a solid, loving, marriage, your wife will resent you for not being open and honest. She's meant to be your best friend. She wants to be there for you as much as you are for her.
My Mrs has cried before now because I've not let her in on my hard times, my pain. She was devastated to know what I was going through alone. She assumed I'd closed up because I didn't care, I didn't love her anymore.
Yeah take the latter advice but if you want a happy life don't take the former. This will not lead to a happy marriage, which is, if good, the biggest source of happiness you can get.
@OP Your wife is there to support you and vice versa. Talk to her. She might be able to give you the emotional support you need. Certainly better than people on the internets.
Start instead some sport, take care of your body (try sauna + cold baths together), eat brain-boosting supplements, kick out sugar/flour-based food for a month, switch your phone off for 4 hours during work day and tell everyone about your reachability, start learning something on a side which makes you happy. You have a happiness deficit; do something you always wanted to do though don't overdo it, and allow yourself to be a bit happy for no reason ;-)