To me, "it's a line" means "it's a string of words that's often used" Ex: "a catch-line", in adverts etc... I don't see anything sexual in the expression.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.