Its not WFA that writes this data in /etc/rc files and hence can't control it. Its the ONTAP that does it and WFA has no say in it.
You can write a Data-Formatter code which can modify /etc/rc in the format you want after actual commands execution is complete. For your simplistic requirement, it should not be very difficult. This code can also be a WFA command.
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.