I made an error
Sorry if you experienced not working arduino, but if you have take an ISP programmer as I said, you was able to fix the problem.
So to delete the COM port, you only need to comment this line and not the others:
static u8 SendInterfaces()
{
 u8 interfaces = 0;
 // To comment to suppress COM port
   CDC_GetInterface(&interfaces);
 PluggableUSB().getInterface(&interfaces);
 return interfaces;
}