The following is the screenshot of an answer I had posted on Stack Overflow.
What is to be noticed here is that the question is tagged sql-server, vb.net, sql-server-2008, vb.net-2010, and vb.net-2013.
I executed the code in Visual Studio 2010 and posted it with comments (using '
) for explanation, but at that time the comments were not recognized. Then I tried to comment them using a double slash (//
) - that's shown in the image. But this is not the proper way of commenting in VB.NET - it'd be an error in Visual Studio.
Note that languages that use //
for comments (C#, Java, C++) are not tagged here.
Link to my answer: Creating a SQL Server database for the first time at run time
Proof that comments are recognized based on tags:
This comment will not be recognized
The comment is recognized