40 columns                              |
### Maps use most of the same formatting code as lists, so we don't test
### all of the edge cases here, just the basics and map-specific stuff.
>>> Line comment in empty map.
var map = {
// comment
};
<<< 3.7
var map = {
  // comment
};
>>> Inline block comment in empty map.
var map = {  /* comment */  };
<<< 3.7
var map = {/* comment */};
>>> Inline block comment after entry.
var map = {first: one /* bang */, second: two};
<<< 3.7
var map = {
  first: one /* bang */,
  second: two,
};
>>> After entry.
({key: value // comment
});
<<< 3.7
({
  key: value, // comment
});
>>> Preserve blank lines between comments and entries.
({
  // comment
  element: 1,



  noComment: 2,


  // comment


  // another



  yesComment: 3


});
<<< 3.7
({
  // comment
  element: 1,

  noComment: 2,

  // comment

  // another
  yesComment: 3,
});
>>> Comment after key.
({key // comment
: value});
<<< 3.7
### This looks weird, but users don't usually put comments here.
({
  key // comment
      :
      value,
});
>>> Comment after `:`.
({key : // comment
value});
<<< 3.7
({
  key: // comment
      value,
});
>>> Don't move blank line around comment.
({
  a: first,
  // comment

  b: second,

  // comment
  c: third,
});
<<< 3.7
({
  a: first,
  // comment

  b: second,

  // comment
  c: third,
});
