Is the primary authority's (EEOC) definition of sexual harassment:
It is unlawful to harass a person (an applicant or employee) because of that person’s sex. Harassment can include “sexual harassment” or unwelcome sexual advances, requests for sexual favors, and other verbal or physical harassment of a sexual nature.[0]
And is the primary authority's (EEOC) definition of harassment in general:
Offensive conduct may include, but is not limited to, offensive jokes, slurs, epithets or name calling, physical assaults or threats, intimidation, ridicule or mockery, insults or put-downs, offensive objects or pictures, and interference with work performance.[1]
Neither of which make the remark in-question constitute of sexual harassment or harassment in-general. I'm sure there is a proper word that accurately describes unwanted remarks about a person's body, but by calling it sexual harassment you are marginalizing the serious cases of sexual harassment that fit under the legal definition.
[0]https://www.eeoc.gov/laws/types/sexual_harassment.cfm
[1]https://www.eeoc.gov/laws/types/harassment.cfm