Cannot comment settings in resource_limits.conf - Bug 995460

Bug 995460 Can not comment settings (directly following directives) in /etc/openshift/resource_limits.conf
https://bugzilla.redhat.com/show_bug.cgi?id=995460
Using .to_i will strip everything after the actual integer, allowing comments directly after.