Can't say it's perfect but works for me.....fine line pencil for white and light fabrics, white chalk for dark fabrics.
I try to be very careful marking my quilting lines and then quilt right on top of them so, really, there's nothing to erase and it stays on the whole time it takes me to quilt my quilt.