Either they like your legs, or they are saying it sarcastically because they don't like your legs.
Or, if you don't usually wear shorts and then one day you do, then maybe they will think a comment like that might be funny as a joke.
Do you think you have hot legs? Upload a pic on here and I will tell you myself
You have nice legs i guess . Or can listen this song :v