The next time he says something like that, just look at his increduously, shake your head in disapproval, and walk away without saying a word. Or just an "Unbelievable."
Also, if there are scenes/dialogue that tend to repeat with you two, that are, in very, VERY predictable, then think about ROLE-PLAYING AHEAD OF TIME, in your own head or even out loud (if you're alone, LOL!) how you'd LIKE to handle them.
It helped me, a LOT, and I'm a big ham and am in sales for a living!