Is my guy friend joking or flirting with me?

I was talking to my guy friend and I told him that I don’t trust good looking guys and he responded by saying so that’s why you don’t trust me. And he said this in front of our other friend too. I thought it was kind of weird.
Is my guy friend joking or flirting with me?
Post Opinion