function wrap(lines) {
	if ( typeof lines === "string" ) {
		lines = lines.split(/\r\n?|\n/);
	}
	return "/**\n * " + lines.join('\n * ') + "\n */";
}
Inverse operation of unwrap.

The prefix for lines is fixed to be " * ", lines are separated with '\n', independent from the platform.
@param {string|string[]} lines Multiline string or an array of lines
@returns {string} Full comment string created from the line(s)