Earlier quoted context omitted.
"Katie's got the low cut dress on today! I know where I'm sitting!"...As I'm getting older, I see how sexist and demeaning this is. At the risk of revealing myself to be a chauvinistic jerk, is this kind of response sexist and demeaning, or just inappropriate for the workplace? Why do women wear low-cut dresses if not to attract male attention (in the majority of cases)? Would it be sexist and demeaning for me to not…
Public perception (as judged by art, which usually represents a slightly caricatured version of reality) seems to imply that your attractiveness and the appropriateness of your comments are inversely correlated. That is to say, if you tell a woman she looks good, it will be a compliment if she likes you, a sexist remark if she doesn't.
You could look like a literal Ryan Gosling clone and I'd still be offended if you told me the second statement at work.