The Removing Comments function allows you to quickly clean a CNC program (NC) of all comments enclosed in parentheses (...).
This operation is useful when preparing code for sending to a machine where comments are unnecessary or may cause interpretation errors.
; Original code:
N10 G00 X0 Y0 (Move to zero)
N20 G01 X10 Y10 F100 (Linear move)
; After removing comments:
N10 G00 X0 Y0
N20 G01 X10 Y10 F100
Removing Comments speeds up code parsing, reduces program size, and eliminates possible conflicts when sending the NC program to the equipment, especially on older or specific CNC controllers where comments may be prohibited.
After applying this function, comments cannot be restored, so it is recommended to save the original version of the program before cleaning.