Does the word "line" have the same definition in the next two sentences?

A washing line.

He has a smooth line but I didn't fall for it.
different meanings