I'm not sure it is feasible to identify the cause of a noisy foil unless there's some damage to see. There are multiple causes and it can come and go depending on how much power you're carrying and how much speed and load you're putting into the foil.
I have never done any work on my foil masts. They seem impervious to any wear and tear. I did fix a little groove in the leading edge after getting tangled in fishing line. I recently scrubbed the mast with Scotch Brite. It came up nice and clean with a pleasing matte finish.
One of my foils had a series of micro pits in the edge. They could only be seen through very high magnification. That foil screamed like a banshee. I rubbed some epoxy paste into the holes, sanded and painted. The foil is now quiet.
Two of my foils developed a bit of noise after use. It was simply wear and tear on the tips. Small scratches and chips can be sanded out. Bigger scratches are filled with epoxy paste then sanded and painted.
A quiet foil developed a squeal after an impact with a reef. There was a small split in the leading edge. I injected epoxy with a syringe, clamped then sanded. Noise gone.
My Gofoils were quite noisy. A slight bevel on the trailing edge of the curved edge fixed that. As JB says, you need to make sure the trailing edge is not too sharp. I left a little sharp line on the trailing edge of a stabiliser. Unfortunately I can't fill the ding in my finger with epoxy paste.

My kite foils make a noise like skateboard wheels at high speed in smooth water. I quite like that. It sounds fast.