Just want to validate the OP's feelings. Yes, that comment was totally uncalled for. By any chance do you know was this a Miami-based flight attendant? (Seems unlikely on JFK-SFO, but you never know.)
It's hard to come up with a snappy comeback in the moment when you're so startled by the passive aggression of such a comment.