Well, racking the slide causes wear, just picking up and handling the pistol causes wear.
For most people dry firing, you can't say it doesn't cause any wear, but they don't do it enough to cause any appreciable wear.
Personally, I dry fire as a safety measure, either before/after clearing the...