In a medium skillet over medium heat, cook bacon until crisp. Transfer to a paper towel-lined plate; drain.
Spray a baking dish with cooking spray. Add corn, flour, 1 1/2 cups cheddar, jalapeño, sugar, cooked bacon, beaten eggs, melted butter, and milk. Season generously with salt and pepper and mix together until combined. Top with remaining 1/2 cup cheddar.