-4
When I add snippets of comments in the code VS Code does not correctly translate them.
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
//comentario..
/* comentario 2 */
<title>Design Layout Responsivo</title>
</head>
<body>
</body>
</html>
Please put your source code there.
– Leonardo Getulio
<!DOCTYPE html> <html lang="en-BR"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-Scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> ///comment. /* comment 2 */ <title>Responsive Layout Design</title> </head> <body> </body> </html>
– Marcos Domingues
Probably the problem may be a quotation mark that may be broken in your code, and so the comment will not work, not always the problem is in Vscode, can be in the code, try commenting on a blank file and see if it works.
– Ivan Ferrer