For example, jquery.js:
/*! jQuery v1.7.1 jquery.com | jquery.org/license */
/*! * Bootstrap v2.0.1 * * Copyright 2012 Twitter, Inc
Some software like Coda also support the "bookmark syntax" shown below, so that one can navigate to different parts of code through the app's code navigator.
// !bookmark /* !bookmark */ <!-- !bookmark -->
Note that in the examples above there's a space between the comment syntax the exclamation mark.
It is also important for attribution for the author of external dependencies/API, especially free ones.
When minifying, the least we can do is to offer them some bytes of recognition.
/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */
will not be erased by minifier.
©2020 All rights reserved.