These comments are not appropriate at the workplace.
I have a friend who actually called me yesterday to tell me about and ask for advice about a guy at her new job. HR apparently came out with a sexual harassment policy that includes something about not complimenting women on their looks. This guy apparently complained and argued ad nausemum with my friend how this is not sexual harrassment and he should be allowed to compliment her. Argued and complained for over an hour. She ended up ignoring him, and then he overhear her tell someone else that she was going to the gym after work. He then told her that "see if you allow me to compliment you, then you wouldn't feel like you have to go to the gym". I told her to go to HR and her supervisor, start documenting this and worst case video it.
This guy clearly does not understand what harassment is, and still feels entitled to his way of thinking. I think this is still harassment, just a different twist.
At first, I thought, eek, is that policy really necessary and could I say 'nice haircut' to a male colleague but not a female one, and then, shortly after 'ad nauseam' I began to wonder about this guy and by his last comment I was completely agreeing with your advice to your friend, even if he was ostensibly trying to be witty. And if he wasn't even that, it's a bit scary that there are men out there who would seriously think that way.
I finished with the additional thought,
'this is why I would never want to be and would not be very good at being either an HR manager or a football referee'.
Since I am now retired, and I rarely worked with men during my career, I will give my opinion. If a male coworker told me that he liked my new hair style or something as innocent as that, I would take it as a nonsexual compliment. But, during my last year of work, the maintenance man frequently said things to me that bordered on sexual harassment. For example, one day as I was walking toward the office at the start of the day, he said, "You look ravishing today. Come give me a big hug"! I just rolled my eyes and made sure that I was out of his reach. Another time he said to me, "If I had met you before you met your husband, oh boy etc." Ew. Ew. Ew. I don't know if I call that full fledged sexual harassment since he wasn't my superior and he was kind of a dumbass, but it was very inappropriate and I would have preferred that he had just wished me a good morning.
Now I am going to admit that every once in awhile there is a female employee that sexually harasses the men. My husband worked with such a woman in his final job. The thing is that none of the men felt threatened by Betty. She was a low level hourly employee. She even said inappropriate remarks to the plant manager. He told us that he sometimes didn't know what to do about her. Nobody ever complained about her or took her seriously. I don't think she ever tried to touch anyone. She just bragged about her many sexual conquests with famous soul singers and sometimes she made inappropriate comments. The thing is that none of the men ever seemed to care. Maybe there is a double standard or maybe most men don't take a woman like Betty seriously. Instead they seemed to think she was a hoot. Have any of the men here ever worked with a woman like Betty? Were you made to feel uncomfortable by her? Did you just think of her as a joke? In all of his working years, this was the only time that my husband worked with someone like that. Her behavior was certainly inappropriate but the employees had mostly all worked together for years, so perhaps it was more like having a kooky family member that sometimes says inappropriate things.
I also think there is a big difference between a superior making inappropriate remarks and someone that is in a low level position making those remarks. One has the power to fire you or make you work life miserable. The other has no power over you. I never ever felt threatened by the maintenance man. He was 71 years old and I was 68. I would never even consider reporting him. I just thought he was a jerk.