That had to be one special chick for that line to work, but, at least it has a some wit. In this class I was in as a sophomore in HS, this one dude kept trying to pick up on this chick by calling her "garden tool number 2." Like every fucking day. Somehow, it seemed to be working early on because she giggled even though she was protesting, but she got tired of it rather quickly. (Don't ask me what the "number 2" referred to. Also, I'm pretty sure I've told this story before....)
Anyway, @Doom Metal Alchemist, it's like these fine people have said. If you use that line at a girl who is waiting for you to show some kind if mutual interest, it could be really effective. It's general enough without being objectifying, but it makes it clear that you're interested in more than just a friendship. If she's not into you like that, the worst that happens is she groans because of the corniness.