I have the following JavaScript macro defined in the Visual Studio 2017 IDE that inserts a comment with the current date and time. I use this when editing C# code: