Automator Service to comment/uncomments lines in AS

Simple Automator Service that take text as input (AppleScript) and make a comment or uncomment. Copy the script below to Run AppleScript Action and set text as input. (Quick Action)

The Service could be run from any Editor of your like, or easily be changed to any programming or scripting language. The script is based on multiply lines of comments or uncomments.