I got the feeling that she thought it was because she was attractive, too.  It's just some dumb guy trying to make conversation and thinking he's witty.  Just ignoring it would be the best thing (and stop thinking that it's about your looks).