Snapping to the edge is not supported out of the box. If this is a requirement for you, it would have to be custom code you write.
Jennifer is right that as a work-around, you could just snap to the two vertices on each end, so you have an edge that perfectly follows the line you want to snap to. Next insert an extra vertex on this line, and lastly delete the two extra vertices you first added.