The purpose of adding 10% KOH solution to the patient sample in the wet prep procedure is to dissolve and clear the cellular debris, leaving behind any fungal elements present in the sample. This allows for easier visualization and identification of fungal elements under the microscope.