What to do when your boyfriend says another girl is hotter than you?

I got in an argument with my boyfriend earlier today. I was going through instagram and Facebook accounts that we share and noticed that all he really does is like all these hot girls pictures that live around the area. Well it makes me jealous and mad, so I said to him "oh but you want other girls too" after something he said. He replied with "If you say so. Jordan is hotter then you ;)" (Jordan is one of the three girls he's told me he'd like to date if we weren't together. I had asked him about two weeks ago if he had a crush on anyone else before and after convincing him he told me.)
Anyways after I read that text my jaw completely dropped. I am still in shock. I just poured my eyes out crying and haven't replied since.
Side note: we have been together for over two & half years and I do know he loves me so I don't understand how he could say this.
What are his intentions by saying this?
How should I treat this situation?
What to do when your boyfriend says another girl is hotter than you?
Post Opinion