In Sublime Text 2 it was possible to comment out a line or a block of lines with Ctrl+/ and Ctrl+Shift+/. According t
On my mac the shortcut is ⌘cmd + / which makes multi line comment but as single lines:
// if ($username && $password) {
// echo "You are good to go";
// } else {
// echo "Fields cannot be blank";
// }
OR
⌥ alt + ⌘cmd + / and it's result is overall comment, from beggining of the selection to the end.
/*
if ($username && $password) {
echo "You are good to go";
} else {
echo "Fields cannot be blank";
}
*/