Add comment('//') line processing for json parser

Add comment('//') line processing for json parser
Imp set_video_mode under windows platform
Register print_line for script