I honestly can't remember ever getting a comment quite like OP's from a male co-worker; once I got razzed by a female supervisor about getting a Butterfinger for a mid-afternoon snack that I let roll off my back, because I knew what a spazz she was about her own weight.
However, in the past I have been the target of a fairly intrusive, boorish comment by another co-worker who walked the entire length of the floor of my then-office (which was vast) to deliver her little dart. I just looked at her. And looked at her. And looked at her. I must have simply stared, wordless, at her for at least 30-45 seconds, and her knees almost buckled.
That was my hands-on lesson that nothing, and I mean NOTHING, dresses a boor (male or female) down like a simple, silent, and LONG stare.
A-Jock