Finally thingiverse like syntax is working for creating parameter widgets in OpenSCAD and also support for annotations also exists.
So, to able do that I first have to solve the problem that location of code was not getting saved in node. After that I worked to add support for labelled combo box and written code to handle possible errors that would be generated due to comment like syntax.