lavijain, you don’t need to use <!–:fr–>.
Just write <?php _e('English word', TEXTDOMAIN); ?>
Then, with POEdit, for example, you can translate it. Then when you click language icon (in your case: French), it will automatically change to ‘Mot francais’.
Just make sure that you translated everything.
Hope it will help you ??