"I like your dress" the indirect way of saying I like you?

Every man that had a crush on me gave me this compliment when they were nervous and just getting to know me. I generally am too logical to read into comments, but this is a common thing that the guys have in common and I wonder if this is a compliment guys use to test the waters to see if the woman is receptive to you? Could the guys explain?

Updates
+1 y
I only mean that compliment means something more when the guy is crushing on you. Not saying this comment alone should mean that the guy likes you.
"I like your dress" the indirect way of saying I like you?
Post Opinion