To Add and Remove Comments from Selected AutoLISP Expressions (AutoLISP/VS Code)

Add Comments to Selected Expressions

  1. Activate the editor window that contains the AutoLISP expressions you want to comment out.
  2. Select the expressions you want to comment out.
  3. Do one of the following:
    • Add line comments – Click Edit menu > Toggle Line Comment
    • Add block comments – Click Edit menu > Toggle Block Comment

Remove Comments from Selected Expressions

  1. Activate the editor window that contains the AutoLISP expressions you want to uncomment.
  2. Select the comment expressions which you want to uncomment.
  3. Do one of the following:
    • Remove line comments – Click Edit menu > Toggle Line Comment
    • Remove block comments – Click Edit menu > Toggle Block Comment
    Note: If the comment sequence of the selected expressions doesn’t match those applied by the AutoCAD AutoLISP Extension, the expressions might be commented out again rather than the comment sequence being removed.