It was necessary in the past, but is not necessary anymore today. Instead, rely on the register allocator to allocate the correct registers.
The LPMW/ELPMW instruction can be modified to use an earlyclobber, which prevents it from using the Z register as an output register.
Also see: D131844
Remove this comment line.