It is best not to stack the corn on the cob on top of each other when cooking them in the air fryer. Because the air fryer cooks by circulating air around the food, each piece of corn needs to be exposed to the air. However, if your air fryer is large enough, feel free to stack small corn on the cob pieces on their end to fit more in your air fryer.