a vscode extension, you can use it to insert a comment.
https://marketplace.visualstudio.com/items?itemName=Turaiiao.vscode-author-header
Install
open extension store, search "vscode-author-header", on first, install it and rebot vscode.
or download it, local installation on disk.
Use
First
Ctrl + Shift + P
search the "settings", open and edit user settings.json or workspace's settings.json.
you should type "author-header", it will prompt automatically.
Second
configure your information.
"author" is your name, it will displayed in the head copyright.
"contents" is a list, it will progressively show each line in the comments.
"auto-space", do you want to leave a blank line after the title ?
"auto-title", do you want to add titles automatically ?
"auto-date-type", date format for automatically added title.
1 -> None.
2 -> Slash segmentation.
3 -> Midline segmentation.
of course, you can also use shortcuts or right mouse buttons, shortcut keys is Ctrl + Shift + H
End