I understand how you feel, we all get these types of comments from people, family, friends, co-workers, strangers, etc...
You have to brush it off and not let it get to you and just stay focused on the training at hand! If the trainer was making alot of those comments, then I would say something! If the others keep up with the comments, I agree that you should pull the trainer aside and ask them to address the group!  
We just enrolled Camden in a basic obedience class and her first one is tomorrow. There are going to be 2 Bull Mastiffs, a Boxer, Sheltie, Australian cattledog and a Dauschand in the class! So she's going to be the smallest, I can't wait to see what kind of comments we get!