Yes, it is safe, if you use a lint free cloth and proper cleaning solvent and keep the cloth wet.
The cleaning solution from the cleaning cartridges works the best, denatured alcohol is probably the second most common used, it will take longer and may evaporate faster.