>>1639581You just draw the lines first and hide the coloring below it.
So you have a "Lines" layer as your highest layer, and then a "Colors" layer below it. You draw the lines for the neck in the "Lines" layer first, and then you color the shadow in the "Colors" layer. Since that layer is below the lines layer, you can hide part of it under the lines.
Here is an example.