How I see in http://www.autoitscript.com/autoit3/scite/docs/Tidy.html There is an option that is enabled by default. I have to honestly say that I like it. Then I began to wonder: Is a similar functionality can be added to other functions available in AutoIT. Here is an example of what would be the result of my proposal.  #include <MsgBoxConstants.au3> Func _Test_comment_1() ; comment example for Func and EndFunc Local $sString = "" If $sString > 0 Then ; comment using IF