When inside a comment, Komodo's Smart Indent feature automatically adds the appropriate comment indentation when you press 'Shift'+'Enter' instead of 'Enter'. Configure the Auto-Indent Style on the Indentation preference page.