So, I was thinking of something like-
You would type in a piece of code into a box and it would generate a comment for it.
Example-
I type this into the box-
%Something = 3;
I press a button that says generate,
It generates text below that says
//create a local variable called "Something" with the value of 3.
It would have to know the Synax of torquescript. And it could also work for other codes.