Ahhh. Now I see. So my X almost always makes intimate or sexually related remarks when he sees me. Infuriates me. Confuses me sometimes too. He has told me that he wants to lie in bed naked with me, that if he saw me at a party he would hit on me and try to pick me up.

I tell you this not to take focus off of your question but to show you that the behavior is rather symptomatic...

With that said I usually say something like "thanks for sharing" which acknowledges their feelings but does not affirm or deny anything else. You can ask him why he is saying those things.