My boyfriend mocking me in front of our friends. How to fix this behavior of him?

Now, from the title it seems like maybe I am taking it offensive or something and I thought about it but NO. He kinda thinks that he is a comedian or something when we are with friends and he makes humiliating jokes. He doesn't act like that at home. He is joking about my insecurities like my white hair. We were in our friends house and she has a dog which is covered with all white fur and he looks at me and says "Babe she looks like you!" and this is not the worst part.. hold on.. and then he makes a very cringe way of lookig at our friends' faces if they will laugh or not. I talked to him he doesn't accept that he does something like that.

My boyfriend mocking me in front of our friends. How to fix this behavior of him?
Post Opinion