If you comment it out and replace it with your own im not sure how everything will behave. It think it will may break a lot...
But If you want to try it look in the core/gantry.class.php there is a line for enabling mootools via the standard Joomla mootools behavior.
Its in the init() function.
JHTML::_('behavior.mootools');