Have you looked into any social skills classes? Around here, we have organizations that camps during the summer and classes and stuff for kids who have aspergers, where they just work on social skills.
As far as you, you will have to be very frank and explain to him proper ways of interacting with others. Tell him, "Don't say that, because when you say that, other people's feelings get hurt and they won't want to be your friend" or something like that. You need to tell him, because it doesn't come natrually to him like it does to you.
Plus, even if he's in regular classes, there should still be some form of support for him. I'd talk to the school admin/psychologist about it all and see what your options are.