slash comment line js code example Example: js comment //This does not effect the code. var something = "But this does effect the code!";