Suspected Boko Haram militants killed at least 65 people who had gathered for a funeral in northeastern Nigeria over the weekend, a local official said.