I understand how this happens. My ex and I had a lot of banter, but it was never this bad. The truth is that this is a man (and there are many, like my ex) who are consumed on some level with self-hatred and masculine identity bullshit issues. But without empathy or self - awareness or kindness they simply project it onto the woman they supposedly 'love'. You have become a bin.
If you think being aware of this yourself, and or trying to illuminate him to this truth will make it stop - transforming him to the person you think you love, then you are likely mistaken. The genie is out of the bottle - he gets far too much relief and satisfaction from dumping his shit on you.
My ex also very rarely gave compliments, but the worst he ever said to me was "I love every inch of your shabby body" - bad enough - but the level of cruelty you have found yourself in is way worse.
He is a bully. Under the guise of humour (and so much passes under this) he has manoeuvred you into a no win position. For example - what he calls 'eggshells' are actually elements of basic care and respect. I would let him tread on them for rest of his days, however you will exhaust yourself trying to maintain these basic boundaries of respect and personally I think he will find another way to make you pay.
I'm not sure he's worth the fight but if you do want to fight - then I might suggest you get some counselling to determine how to deal with this and why/how perhaps you have found yourself here.
Something else that may work is this. Next time he hurts you - tell him, even if it's in company - "that hurt me" - "I don't accept it as a joke" - don't enter into any discussion, be totally okay with being 'humourless'. Then later, ask him to leave your home for a trial separation - That he needs to think. Be really really fuckin tough. This guy needs one huge serious shock. Otherwise, you will wither and die here.
I also suspect if you talk to relatives and friends frankly, you may also find out how bad they think he really treats you.
Good luck.