adding comment max size to prevent exceeding memory

See https://bugzilla.wikimedia.org/show_bug.cgi?id=53840