How can I tell if someone has actually said something out of line, or if I’m just being too sensitive?

No need to worry that you’re too sensitive; you are entitled to your feelings. It is possible you are misinterpreting what they are saying, that they spoke without thinking, or that they intentionally said something out of line. You can ask them directly why they said that, or tell them their words were hurtful.