If it is a multi-turn valve, you might consider replacing it with a 1/4-turn shutoff. WHen the washer gets old or loose, it can vibrate with water flow. That doesn't happen with a 1/4-turn ball valve. If you go that route, replace the supply hose as well. It could also be the fill valve. Some types will make a bunch of noise when the seal gets old as they start to close near the end of the refill.