Nikon did change the position of the engraving for some lenses to reduce the possibility of it showing in reflective subjects.
In early 55/3.5 micro lenses the name is engraved on a ring inside the filter. The very first versions with the preset aperture ring and 1:1 has the engraving just inside the filter ring where it is easily visible. Due to the short working distance of this lens, the engraving could be visible when photographing reflective subjects. In the following versions the engraving is recessed further back, about half way between the filter ring and front element, where it could be better shaded and less visible. Starting with the K/New Nikkor version, the engraving is moved to the side of the barrel outside the filter ring which largely eliminates the possibility of reflections showing in the picture. Similarly, with the 105/4 bellows, early lenses have the engraving inside the filter facing forward, which were later moved to the side of the barrel.
Steering back to topic, none of the current Z lenses are extremely wide or close focusing, so the front facing lettering is unlikely to to be reflected in the picture. I will assume any Z macro lenses won't have writing at the front ...