Civil turbine engines often do water washes to remove salt (and other contaminants) and these are done much more often if operating over salt water so I presume that Navy's do this at regular intervals even if the aircraft has not flown.
So do military turbines. In the Army we did them every certain number of hours, even when we were not operating in salt water environments.