In my opinion the best response to such things is to remain calm. By saying something witty you show that you care too much and you put effort to prove yourself to her. You wouldn't try to outwit your little sister or a 6-year old girl in the street. Because you wouldn't care. It should be the same with women. If she says something bad you can always just say "Yeah... sure..." or something like that as if you don't really care at all. You can also just laugh at her - treat her like a 6-year-old girl. Humor can work but it should be spontaneous and you should never seek any reaction. Do it for your own amusement.
Girl: "You're such a jerk!"
Guy: "Yeah... sure..."
Guy: "Wanna dance?"
Girl: "I wouldn't dance with you even if you are the last guy on earth." [Here it seems that the case is not that the girl just doesn't want to dance. She is intentionally trying to make the guy feel bad.]
Guy: "You know what... forget it. I don't actually want to dance with you anymore. You're weird... *smile* Bye *wink* [Turn around and if you want go to another girl to build social proof]
Just be honest and stop caring too much.
