I’ve been in touch with our snow contractor regarding the distance he recommends placing snow stakes from the sidewalk. He suggest 2-3 inches off the sidewalk is best. He doesn’t try to get a close as possible to a stake but uses them as a guide to find the middle of the sidewalk.