Is neck used to mean the same thing in the next two sentences?

The banjo had a long neck.

The bottle had a wide neck.
the same meaning