The ImportSorter
removes comments inside the imports block, i.e.:
before:
package org.example;
import java.util.List;
// this is very important
import java.util.Set;
public class Test {
}
after:
package org.example;
import java.util.List;
import java.util.Set;
public class Test {
}