I can't judge what kinda of person she is from this alone, but if it's exhausting to be with her, just put some distance between the two of you. Like you said, A and B are closer, so you'll always feel a little left out. Idek if she realizes she's actively making you feel this way. If you feel comfortable, try talking to her about it. Say you don't like how it feels like she's leaving you out on purpose. If you don't want to do that, just treat her like a roommate you're not close to. There's no point in maintaining relationships that aren't fun.
Personally, I've had friends I've thought were dumb and embarrassing. I've also been in the position of being the friend they think that way about. I know it's not a nice feeling. It just gets easier when you realize you don't have to feel that way. Half the reason they think of you like that is because they find it entertaining to talk shit about someone.
Life if exhausting as it is. Try not to let it get to you. You'll meet people who'll make you feel happy and people you can talk to about these kinda things. Don't worry. It'll get better. You can do this (⌒▽⌒)
after reading this i realized you're a pushover and i feel sorry for you :(
every person who's going through the same thing doesn't deserve this kind of friends. you don't have to think of them as friends bcs real friends don't do that. and if you're not attached to them i think you'll be fine, distancing and drawing a line between you and them. you don't have to put up their antics and tolerate their behavior towards you and honestly, just reading this making me irritated I'm pissed at your so called 'friends'. listen, you mentioned that you only have 1year left to your contract i guess this makes it easy for you. just finished your contract and then find another dorm. much better if you choose to live alone than living with someone. but, if the budget is tight i guess you have to find carefully that'll suit you. this kind of friends is just a waste of energy and time. life is already hard for everyone, let's not make it hard for ourselves. cut ties and live positively with your people. don't invest your energy and time to people who treats you like this. you have to realize that not every people who hang with you is a friend for ride or die. you have yourself and that's fine! draw a line, don't tolerate their behavior, finished ur contract, cut ties with them and live happily :)
this was just my opinion tho, it's up to you if you want to live like that. i just hope ur doing well ^^
I don't socialize much, so I might not give you some useful advice. Since you have one year left on your dorm, I think it might be better for you to start distancing yourself from her. I mean, not completely but yk?? Still talking but not that much?? Idk how to put that into words like emotional distance? Like you can still be close but you shouldn't force yourself.
Or just have the courage to talk to her without B being there like "The jokes about me or the comparisons make me feel stupid so I hope you stop doing that" or smth. You need to make the remaining year peaceful enough that you can live there without constantly feeling humiliated. And if she actually listens and changes then she might have, yk, a "typical friend making fun" intention. But if she says you're sensitive and jokes around or does some shit, consider her a bitch and just keep a low relationship with her. And please don't let her behaviour convince you that there's something embarrassing or wrong with you. Yk, if you don't get basic respect from a friendship, it's not your fault. And bro please don't sit in the bathroom questioning yourself because two people decided to act like middle schoolers in front of you. If someone has to constantly compare themselves to you to feel superior that's honestly more embarrassing for them than it is for you.

This is a long rant!!!!you are not obligated to reply or read this so please if you dont want to, just scroll and continue your day!!! (Sorry for my wrong grammars or punctuations, english is not my first language) Hey everyone, I just wanna come on here to rant because I have no one to talk to right nowand Im feeling stuck. So basically, I wanna ask what do you do if your friend treats you like you’re dumb, stupid or, embarrassing.. I have this friend (lets call her A) rn who is also my roommate currently, and for a while its been okay, but then at night she goes on a call with our other friends lets call them B. Now, me, A and B are in the same friend group, but A and B are closer to each other. A little fact actually is that A and B have been honest to tell me that they talked behind my back once, but I let that go because it was a long time ago. Now, earlier the 2 of them were in a call, it was normal at first me and friend B even got to chat, B actually said they wanted to chat for me even more than friend A..(I guess to catch up) While we were chatting, friend A took the phone then told friend B “bro look at her laptop” and glosses over the stickers on my laptop. Then said, “bro her laptop is SOOOOO empty” in a sarcastic mocking tone, then laughed. Mind you, the stickers on my laptop are my personal interests, at this time I already feel like theres a pit in my stomach. Then, they have the audacity to picture infront of me (screenshot ofc) and told each other how much they miss each other blah blah blah in front of me, and I dont mean that in a; shes not facing me and minding her business but I feel lonely type of ‘infront of me’ BUT QUITE LITERALLY facing me, the back of the phone on my face and they out here making licky faces type of infront of me. Already Im pissed, but fine its okay, Then when she went to her lower bunk (we are in a bunkbed Im the one at top) still talking loudly to her laughing. I wanted to go to the toilet right. So then ofc I dangle my feet to her lower bunk then she keeps pushing it with her feet still on a call with B LAUGHING, because I guess they think going down from the top bunk is funny? I went to the toilet still hearing their laugh in the room and just sat there.. I know her personality where she subtly brags about stuff even if the conversation is about me. For example, me: “Oh, I got this *cool thing*” her: “Oh yeah I know that I have *the even more cool thing*” this would happen constantly amidst our conversation. The reason why Im telling this is because we still have 1 year contract on our dorm but already, I feel mentally drained to deal with her… Any SERIOUS advice is very much appreciated ლ(´ڡ`ლ) !!!!