Yes the above code will be removed. So We recommended not to change the code because if you change the code then while updating to our new version all your customization code will be lost. So better make child theme and first unhook the functions and the edit the code.
By making changes in child theme your customization code will not be lost.