Is it bad practice to comment out single lines of CSS with //?
I don’t know how future and/or exotic browsers will interpret non-official hacks like //, so I’d rather stick with the appropriate notation:
I don’t know how future and/or exotic browsers will interpret non-official hacks like //, so I’d rather stick with the appropriate notation:
You can use triple-quoted strings. When they’re not a docstring (the first thing in a class/function/module), they are ignored. (Make sure to indent the leading ”’ appropriately to avoid an IndentationError.) Guido van Rossum (creator of Python) tweeted this as a “pro tip”. However, Python’s style guide, PEP8, favors using consecutive single-line comments, like this: …and this is also what you’ll find … Read more