Having a "smart mouth," and people with this trait are called a smart alleck. One of the most annoying personality traits a person can have. They often think their comments are funny but are actually designed to innocently make you feel stupid. People with heavy amounts of sarcasm are viewed as arrogant and stuck up.
I admit I am a little bit sarcastic in my personality, but I try to watch it so I don't offend people.