Comments in discussion panel don't work very often

For example this code:

var reverse = function(x) {
	/*
	The algorithm:
	- turn into string
	- turn into array
	- reverse an array
	- turn back into string
	- turn back into Number
	
	In case of negative number, get absolute value and add minus before conversion to Number.

	Faster syntax was used for if else statements: logicalExpression ? executeWhenTrue : executeWhenFalse
	*/
	
	x = x > 0 ? Number(x.toString().split("").reverse().join("")) : Number('-' + Math.abs(x).toString().split("").reverse().join(""));
	return -(2 ** 31) < x && x < 2 ** 31 ? x : 0;
};

Should be commented but it's formated like normal code. Do you have any idea how to prevent it?

Comments (0)