What is the maximum distance an approved manual shut off valve may be from the appliance it serves?

What is the maximum distance an approved manual shut off valve may be from the appliance it serves?