I'm going to make a snarky comment and ignore someone because of what they said
How did they get such a reaction out of you?
He said that he considers me his friend even though he doesn't like me.
I can see why that would annoy you but it is not nice to be mean to others. It will never end if both of you keep being mean to each other.
But he deserves it for what he said.
I think that you should just end that friendship and not try to snap back at him. Be the bigger person and move on.