The musty smell is caused by mildew and fungi. These spores are everywhere - if you kill them any puff of air brings in more fresh ones. The only real solution is to prevent them from growing and that means keeping the clothes dry. You don't say where you are, the problem is solved in different ways in different parts of the world. In the UK the answer is to keep plenty of ventilation at all times or use a dehumidifier. Also make sure that you leave lockers and wardrobes ajar when not on board. Packing in plastic works if it is a hermetic seal and/or you put a dessicant in the bag.
I tried everything but recently my wife took an interest and solved the problem almost immediately. She tells me she has "washed" the clothes, whatever that means. I think it involves being quite awful towards the clothes - as she then "hangs them out to dry". Anyway, afterwards, they don't smell at all.
Moisture and warmth is what is needed to ensure a boat more closely ressembles a house in which clothes don't smell musty. Insulate, dehumidify and/or heat the whole boat, or protect the clothes themselves in vacuum bags. If youy have no bags, store them physically high up in the boat, where air is lighter (drier and warmer) than lower down.
Separately, it's not a great idea to be outright rude is it? It might be a poor idea in the long run.
In any event - No, my earlier post wasn't rude. Re-read please. Flippant, humorous, trite it may have been - but not rude - as I believe you well know. You evidently don't think your own post was polite so i'll take your remarks as a tacit withdrawal