What can I do about my boyfriend insulting my body?

I'm in my early 20s, and I've been seeing my boyfriend for a year now. My boyfriend has always been the sweetest guy until recently. He has made comments such as “you would look better as a Tumblr girl" or "you should start doing more squats." It's really hurtful.