But what you need to understand is that this has nothing to do with you or your background. The only thing it has to do with is people who are exceedingly insecure in their own identity. All of their little comments are simply them shoring themselves up with out-loud self-talk in attempt to convince themselves that they are okay. They do this by telling themselves that, if nothing else, at least they are something more/bigger/better than someone else.
If they felt truly good about themselves they would have no need for this kind of appalling behavior. And I do think it is otherwise appalling that they would make random comments in this way. In the end, though, it points to just how poorly they feel about themselves. Their comments declare it to the world.
As sort of a coping mechanism, I would realize that this is pitiful, and they deserve pity. Wouldn't it be sad to feel so poorly about yourself that you needed to treat others this way in order to try to feel better? Think on that. Do not respond to these unprovoked attacks; they deserve no reply from you. When you are able, continue on with trying to develop positive rapports with people. But don't respond to this stuff; it would be a mistake and will only drag you down.
Good luck! 👍🏽