Morocco extended their record-breaking run of successive wins by a national soccer team to 19 when they beat Comoros in the Africa Cup of nations opener.