Lay your husked corn on the grill and close the lid, but turn the ears frequently so that they develop lots of caramelized grill marks without getting burned or charred
Optionally, prior to grilling, you can pull the husks back to remove the silks, then close the husks around the corn and soak the ears in salted water before placing the corn on the grill.