From the fare rules for AC YUL-NRT in J class:
Code:
STOPOVERS - PERMITTED-UNLIMITED
TRANSFERS - NO RESTRICTION
So yup, as long as you don't back track or exceed the maximum permitted mileage, you can stopover in as many places as you want for as long as you want, so long as you complete your travel within 1 year.