The joke is more that "you have amazing eyes" more means "you have beautiful eyes", at least in British English. "you have excellent eyes" would be how I'd comment on someone's eyesight.
If the op felt I was flirting with them then that's entirely their problem :)
"good eyes" or "well spotted" would be more idiomatic, I think.