Function IniLikeFile.appendLeadingComment

Add leading comment. This will be appended to the list of leadingComments.

final string appendLeadingComment (
  string line
) pure nothrow @safe;

Note

# will be prepended automatically if line is not empty and does not have # at the start. The last new line character will be removed if present. Others will be replaced with whitespaces.

Returns

Line that was added as comment.

See Also

leadingComments, prependLeadingComment