function f() {}
// Line comment for function g:
function g() {
  // Line comment for instruction 1:
  instruction1;
  // Line comment for instruction 2:
  instruction2;
  instruction3;
  // Line comment for instruction 4:
  instruction4;
  instruction5;
  switch (value) {
    // Line comment for case 1:
    case 1:
      break;
    // Line comment for case 2:
    case 2:
      // Line comment for break:
      break;
    // Line comment for default:
    default:
      break;
  }
  // Comment above object
  var point = {
    // More line comments
    // Line comment for property x:
    x: 0,
    // Line comment for property y:
    y: 1
    // Trailing line comment of point object
  };
  // Comment after object
  // Comments before empty object
  var object = {};
  instruction6;
  // Several line comments
  // …for…
  // …instruction 7:
  instruction7;
  // Trailing line comment
  // Another comment
}
// Last line comment
