Here is the keyboard shortcut key for deleting or removing an entire line in vscode. This comes in handy when you are in need of deleting an entire line without selecting it.
Deleting a line shortcut in vscode:Shift + Del
To Undo your deletion: Crtl + Z
Note: This keyboard shortcut works in Windows Visual Studio Code Editor.